﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using TrainSimulator.Interfaces;

namespace TrainSimulator.Model.Train
{
    public class Wagon : IWagon
    {
        public int ID { get; set; }
        public string Description { get; set; }
        public double Length { get; set; }
        public double MaxSpeed { get; set; }

        public Wagon(int id, string description, double speed, double length)
        {
            this.ID = id;
            this.Description = description;
            this.MaxSpeed = speed;
            this.Length = length;
        }
        
    }
}
